#pragma once
#include "common_data.h"
#include <opencv2/opencv.hpp>
#include <pcl/point_cloud.h>
#include <pcl/point_types.h>


typedef pcl::PointXYZ PointT;
typedef pcl::PointCloud<pcl::PointXYZ> PointCloud;

namespace visual {
	// 顶点信息
	struct Point {
		float x;
		float y;
	};

	struct BoxPoint {
		Point p1;
		Point p2;
		Point p3;
		Point p4;
		int id;
	};

	struct BoxInfo {
		int id;
		int length;
		int width;
		Position pos;	// 中心点坐标
		PointCloud::Ptr cloud;	// 点云
		QVector<int> Child;
	};
}

